package com.pctx.rbac.service;

import com.pctx.rbac.pojo.Role;

import java.util.List;

/**
 * Created by chason on 2018/2/26.9:39
 */
public interface RoleService {
    List<Role> getByCompanyUuid(String companyUuid) throws Exception;

    Role getByUuid(String uuid) throws Exception;

    boolean add(Role role) throws Exception;

    boolean update(Role role) throws Exception;

    boolean delete(String uuid) throws Exception;
}
